
<div id="columnContainer">

	<header class="column">
		{% if settings.site.logo %}
			<h1><img src="{{ settings.site.logo }}" alt="{{ settings.site.page_title }}" /></h1>
		{% else %}
			<h1 class="x-editable"
				data-berta='{"editor":"Textline","route":"put:settings","variable":"site.page_title","editor_params":{"newlines":true,"tags_allowed":"<br><b><strong><em><i>"},"contextSettings":["s:test.fontSize","s:test.testColor"]}'>
				{{ settings.site.page_title }}
			</h1>
		{% endif %}
	</header>

	<div class="column">
		{% for widget in widgets.left %}
			{{ widget }}
		{% endfor %}
	</div>

	{% if currentSection %}
		<section class="column column-4 x-articles" data-berta='{"sectionId":{{ currentSection.id }} }'>
		{% for entry in entries %}
			{% include "entry-in-list.html" %}
		{% endfor %}
	{% else %}
		<section class="column column-4">
		{% for widget in widgets.main %}
			{{ widget }}
		{% endfor %}
	{% endif %}

		<footer class="column-4-split clearfix">
{#
			<div class="column">
				<h3>Kā mūs atrast?</h3>
				<p>Rīgas Kino muzejs<br />
				Peitavas 10/12, LV 1050<br />
				Vecrīga<br />
				T. +371 0239445</p>
			</div>
			<div class="column">
				<h3>Cenas</h3>
				<p>Pieaugušie 1.50 LVL<br />
				Studentu 1.00 LVL<br />
				Skolēni, pensionāri 0.50 LVL<br />
				Ģimenes biļete (2 pieaugušie, 2 bērni) 2.00 LVL</p>
			</div>
			<div class="column">
				<h3>Atbalstītāji</h3>
			</div>
			<div class="column">

			</div>
#}
		</footer>

	</section>

	<nav class="column">
		{% for widget in widgets.right %}
			{{ widget }}
		{% endfor %}
	</nav>
</div>